How to get a specific value!

  1. The title is Google Email, and the title is “TEMP 21차 HASL4”.

  2. I’d like to extract the specific value “21차” from “TEMP 21차 HASL4”.

  3. I thought I could filter based on “차”, but I don’t know how to apply it.

Please refer to the picture below
1.I want “21차” value in the Subject title which is “TEMP 21차 HASL4”.
Please advise me :smiling_face_with_tear:

Variable name: subjectName
Variable value: 1.Subject << this is what I want to filter and extract “21차” from “TEMP 21차 HASL4”.

스크린샷 2024-10-23 오후 5.49.48

Welcome to the Make community!

You can use a Text Parser “Match Pattern” module with this Pattern (regular expression):

TEMP (?<value>\S+)

Proof https://regex101.com/r/lzgYwi/1

Important Info

  • :warning: Global match must be set to NO!

For more information, see Text Parser in the Make Help Center:

Match Pattern
The Match pattern module enables you to find and extract string elements matching a search pattern from a given text. The search pattern is a regular expression (aka regex or regexp), which is a sequence of characters in which each character is either a metacharacter, having a special meaning, or a regular character that has a literal meaning.

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.