Jump to content

Recommended Posts

Inspired by PHP's preg_split.

Split string by a regular expression.

Also supports the same flags as the PHP equivalent.

v1.0.1

 

Example:

#include "StringRegExpSplit.au3"

StringRegExpSplit('splitCamelCaseWords', '(?<=\w)(?=[A-Z])') 
; ['split', 'Camel', 'Case', 'Words']

 

Edited by genius257
Updated version
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...