The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

[SOLVED] regular expression

amypuamypu Member Posts: 7 Contributor II
edited November 2018 in Help
How do I extract "AMD" from "Advanced Micro Devices, Inc. (AMD)"?
What would regular expression be for this?

Answers

  • awchisholmawchisholm RapidMiner Certified Expert, Member Posts: 458 Unicorn
    It depends on the operator you are using but if you are looking for everything between the brackets then you would need a capturing group.

    Something like this

    \((.*)\)

    then $1 would return what you need

    Andrew
  • amypuamypu Member Posts: 7 Contributor II
    Thanks much!
Sign In or Register to comment.