Skip to content

replace with regexp #40

Open
Open
@ggunti

Description

I would like to use regexp.match(pattern, text, match) in order to manipulate the text string.
For example, in case that text = "completeProfile", I want to obtain "COMPLETE_PROFILE" as result.

pattern is just a regular expression, I can figure it out, but my question is: where is stored the resulted string? I can't figure out how to access the resulted string (in my case "COMPLETE_PROFILE") in my script.

Or I am trying to use a wrong function? regexp.match() is not what I should use for what I want to achieve? I am very curious about it, please let me know.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions