Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to use Regex to replace anything after a keyword #69

Open
mattspencer opened this issue Jun 25, 2018 · 2 comments
Open

Trying to use Regex to replace anything after a keyword #69

mattspencer opened this issue Jun 25, 2018 · 2 comments
Assignees

Comments

@mattspencer
Copy link

This plugin is a life saver! (especially using regex "^.*$" to replace anything!)

As a designer, I'm not very good at Regex and I've been working with a dev who is, and we can get the following regex to work on https://regex101.com/ but not in this plugin:

(?<=KEYWORD).*$

example string: "select anything after this KEYWORD so that it can be replaced"

I am trying to replace any text that comes after a given keyword.

@thierryc thierryc self-assigned this Jul 4, 2018
@thierryc
Copy link
Owner

thierryc commented Jul 4, 2018

I keep you posted

@thierryc
Copy link
Owner

Find

(KEYWORD).*

Replace by

$1 Hobby

for exemple

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants