דווקא נוסחה? תלוי במבנה המידע שמגיע.היי, אני מחפשת נוסחא לקבל לינק מתוך טקסט שמגיע במייל,
יש לי בתוך הטקסט הזה כמה לינקים, אני רוצה רק את הלינק הראשון, איך מוצאים אותו?
{{get(split(replace(1.emailBody; "/.*?(https?:\/\/\S+)(?:\]|$|\b)|.*/g"; "$1"); newline); 1)}}
{{replace(replace(replace(split(1.emailBody; newline)0; "/.*?(https?:\/\/\S+).*|.*[\]\,\-]/g"; "$1"); "]"; emptystring); ","; emptystring)}}
{
"subflows": [
{
"flow": [
{
"id": 1,
"module": "util:SetVariables",
"version": 1,
"parameters": {},
"mapper": {
"scope": "roundtrip",
"variables": [
{
"name": "emailBody",
"value": "\"שלום,תוכל למצוא פרטים נוספים באתר הבא:\n[https://www.example.com]\nוכן, לרכישת המוצר\n החדש שלנו, הנה הלינק:\nhttps://www.example.com/productבברכה,\nצוות המכירות\""
}
]
},
"metadata": {
"designer": {
"x": -918,
"y": -309
},
"restore": {
"expect": {
"scope": {
"label": "One cycle"
},
"variables": {
"items": [
null
]
}
}
},
"expect": [
{
"name": "variables",
"spec": [
{
"name": "name",
"type": "text",
"label": "Variable name",
"required": true
},
{
"name": "value",
"type": "any",
"label": "Variable value"
}
],
"type": "array",
"label": "Variables"
},
{
"name": "scope",
"type": "select",
"label": "Variable lifetime",
"required": true,
"validate": {
"enum": [
"roundtrip",
"execution"
]
}
}
],
"interface": [
{
"name": "emailBody",
"type": "any",
"label": "emailBody"
}
]
}
},
{
"id": 2,
"module": "regexp:GetElementsFromText",
"version": 1,
"parameters": {
"continueWhenNoRes": false
},
"mapper": {
"text": "{{1.emailBody}}",
"pattern": "##http_urls",
"requireProtocol": true,
"specialCharsPattern": ""
},
"metadata": {
"designer": {
"x": -622,
"y": -304
},
"restore": {
"expect": {
"pattern": {
"label": "HTTP address"
}
}
},
"parameters": [
{
"name": "continueWhenNoRes",
"type": "boolean",
"label": "Continue the execution of the route even if the module finds no matches",
"required": true
}
],
"expect": [
{
"name": "pattern",
"type": "select",
"label": "Pattern",
"required": true,
"validate": {
"enum": [
"##emails",
"##html_tags",
"##http_urls",
"##ftp_urls",
"##telephone_numbers",
"##ipv4",
"##ipv6",
"##emoji",
"##key_value_pairs"
]
}
},
{
"name": "text",
"type": "text",
"label": "Text",
"required": true
},
{
"name": "requireProtocol",
"type": "boolean",
"label": "Full addresses",
"required": true
},
{
"name": "specialCharsPattern",
"type": "text",
"label": "Special characters in the pattern"
}
],
"interface": [
{
"name": "match",
"type": "any",
"label": "Match"
}
]
}
},
{
"id": 3,
"module": "util:SetVariable2",
"version": 1,
"parameters": {},
"mapper": {
"name": "2",
"scope": "roundtrip",
"value": "{{2.match}}"
},
"metadata": {
"designer": {
"x": -314,
"y": -304
},
"restore": {
"expect": {
"scope": {
"label": "One cycle"
}
}
},
"expect": [
{
"name": "name",
"type": "text",
"label": "Variable name",
"required": true
},
{
"name": "scope",
"type": "select",
"label": "Variable lifetime",
"required": true,
"validate": {
"enum": [
"roundtrip",
"execution"
]
}
},
{
"name": "value",
"type": "any",
"label": "Variable value"
}
],
"interface": [
{
"name": "2",
"label": "2",
"type": "any"
}
]
}
}
]
}
],
"metadata": {
"version": 1
}
}
לוח לימודים
מסלולי לימוד שאפשר לההצטרף
אליהם ממש עכשיו:
8.05
ל' ניסן
פתיחת מסלול
אוטומציות עסקיות, בוטים והטמעת מערכות מידע
מלגות גבוהות!
9.05
א' אייר
הנחת ענק!
ירושלמי?
יש לנו מלגה מטורפת עבורך! קורס במימון כמעט מלא!!
ההרשמה בעיצומה
28.05
כ' אייר
פתיחת מסלול מורחב:
פיתוח ובניית אתרים
מלגות גבוהות!
2.06
כ"ה אייר
פתיחת מסלול
קורס עריכת וידאו
מלגות והנחות משמעותיות!
24.06
י"ח סיוון
פתיחת מסלול
מאסטר בשיווק דיגיטלי
מלגות גבוהות!
27.06
כ"א סיוון
פתיחת מסלול
עיצוב ואדריכלות פנים
מלגות גבוהות!
27.06
כ"א סיוון
השקה חגיגית!
עיצוב גרפי ודיגיטל - בסילבוס חדש ומטורף!
מלגות גבוהות!
7.05
כ"ט ניסן
#רקבפרוג
הרצאה מרתקת:
מלחמה מבעד לעדשה
עם אילן לורנצי
שיתוף מטלטל ומיוחד על צילומים בזמן מלחמה ותיעודים יותאי דופן זווית יוצאת דופן מתוך עזה והעוטף ועד הצפון
לתלמידים ובוגרים בלבד!
תהילים פרק קלא
א שִׁיר הַמַּעֲלוֹת לְדָוִד יְהוָה לֹא גָבַהּ לִבִּי וְלֹא רָמוּ עֵינַי וְלֹא הִלַּכְתִּי בִּגְדֹלוֹת וּבְנִפְלָאוֹת מִמֶּנִּי:ב אִם לֹא שִׁוִּיתִי וְדוֹמַמְתִּי נַפְשִׁי כְּגָמֻל עֲלֵי אִמּוֹ כַּגָּמֻל עָלַי נַפְשִׁי:ג יַחֵל יִשְׂרָאֵל אֶל יְהוָה מֵעַתָּה וְעַד עוֹלָם: