Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.

Regular expression on Cut Operator not returning output

ruhailaruhaila Member Posts: 48 Guru
Hi,

I have textual exampleset and I used the regular expression option on the Cut operator. Example of the text is below.

Sebuah tabung khas berkaitan pengurusan jenazah Covid-19 akan ditubuhkan dan tabung itu dikendalikan oleh JAIP.
#sinarharian 

https://t.co/fkQC2dXwnc

I want to cut only the https link. My regular expression is as the following.

(?m)https://([a-zA-Z]*[0-9]*[-!"#$%&'()*+,./:;<=>?@\[\\\]_`{|}~]*)*

However, the result still returns the entire text, even though using the regex preview in the Cut operator showed my expression is valid and correct.

Would appreciate some insight and solution here.

Thank you kindly.

Ruhaila

Answers

  • ruhailaruhaila Member Posts: 48 Guru
    Sorry, its not returning the correct output i.e. the substring.
Sign In or Register to comment.