REGEX-Escape for: (?<=(Accommodation? If yes, ideal area:)(.?)+\n?)[\S].*

Your Input:
Result, the escaped string:
\(\?\<\=\(Accommodation\? If yes, ideal area\:\)\(\.\?\)\+\\n\?\)\[\\S\]\.\*

What must the escaping look like for:
(?<=(Accommodation? If yes, ideal area:)(.?)+\n?)[\S].*

The excaped text for use in a regex is:
\(\?\<\=\(Accommodation\? If yes, ideal area\:\)\(\.\?\)\+\\n\?\)\[\\S\]\.\*


Ads