w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Python regex to match begin of string or whitespace

Try this pattern:

(?:^|s)(.*?)[

The start anchor (^) matches the beginning of the string (or line in MULTILINE mode).





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.