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

How to match string from end #53

Closed
ajayreddy28390 opened this issue Jun 27, 2019 · 1 comment
Closed

How to match string from end #53

ajayreddy28390 opened this issue Jun 27, 2019 · 1 comment

Comments

@ajayreddy28390
Copy link

How to match a string from end:

String:
Github is good

Want to match good from right to left

Value string ((\S+)$)

Start
    ${string} -> Record

Expected Answer:
good

Result:
[ ]

@buxtronix
Copy link
Collaborator

This does it, it uses non-greedy matching:

Value string (\S+)

Start
    ^.*?${string}$$ -> Record

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