w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
REGEX to target all text between two words including the words

You could use the below regex to capture all the text starting from Samurai Swords to Art Plates:. [Ss]*? matches any space or non-space characters zero or more times(non-greedy).

(Samurais*Swords[Ss]*?Arts*Plates:)




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