0

This differs from other posts in that I need it to MATCH on everything after a search string, excluding the search string.

For example, with "Bob at Ohio State", I need to extract everything after " at ", e.g. in this case "Ohio State".

For the tool I am using, Chrome Web Scraper Extension, I only have the ability to return MATCHED expressions. So I need a matching expression that matches on " at ", and then only returns everything after that.

JJJones_3860
  • 1,382
  • 2
  • 15
  • 35
  • I think you mean this post on SO https://stackoverflow.com/questions/1395177/regex-to-exclude-a-specific-string-constant – demogorgon Jul 03 '18 at 21:52
  • [`(?<=\sat\s+).*`](https://regex101.com/r/kUIseM/2) – Wiktor Stribiżew Jul 03 '18 at 21:52
  • Yes Wiktor! Thank you. What if I wanted all the text BEFORE " at "? – JJJones_3860 Jul 03 '18 at 22:01
  • @user2184214: Read [here](https://www.regular-expressions.info/tutorial.html) and [here](https://www.rexegg.com) for two good overviews – dawg Jul 03 '18 at 22:06
  • Thanks Dawg. But really? If I had the time to read all about RegEx and become an expert, I would be answering questions here on RegEx, and not asking them. That response is not very helpful on a site that is all about helping those who might use a technology sparingly just to get a job done in another technology that is their strength. Just saying. No offense intended. – JJJones_3860 Jul 03 '18 at 22:30

0 Answers0