473,385 Members | 1,465 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

extracting a particular field from a url

1
I want to extract particular fields from a url of a facebookpage. Iam not able to extract since link format is not static.eg:if I gave the below examples as input it should give the o/p as what we desire

1)//https://www.facebook.com/pages/Ice-cream/109301862430120?rf=102173023157556

o/p -109301862430120

2)https://www.facebook.com/pages/Anti-Christian-sentiment149675731889496?ref=br_tf

o/p - 149675731889496

3)https://www.facebook.com/pages/Gulab-jamun/108035329224130

o/p - 108035329224130

4)https://www.facebook.com/pages/Tajmahal/108571669173264

o/p - 108571669173264

5)https://www.facebook.com/Federer

o/p - Federer

These are the different url examples
Mar 8 '14 #1
1 1220
Nepomuk
3,112 Expert 2GB
So, I'm trying to understand the method behind your extractions... If there's a number somewhere in the text behind the last slash but before the question mark, you want that number? And if there's not, you want whatever is behind the slash? Or is there a typo in your 2nd example and you want the part between the last slash and either the end or the question mark?
Mar 10 '14 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Fred Wilson | last post by:
Hello, How does one go about finding all the tables that have a particular field name? For example a field name "EVENT_CODE" I would like to find all the places in the database this is...
3
by: diverman | last post by:
From a table, how do I get the data from a particular row and field into a text box.? I have tried a searching the forum, but I can't find ROW and field to text box. TIA, Gordon.
8
by: ReadEh | last post by:
I am working on a database in Access 97 that contains over 300 tables. I need to produce a list of tables that contain a particular field (e.g all the tables that contain a field called D.O.B). I'm...
3
by: trainer4063 | last post by:
using access 2000 database. I have a need to extract a partial value in a field. for example I have a table with full names, for example "John Smith", "Jamie Johnson", and I need to be able to...
3
by: Clarisa | last post by:
Hello Folks I am working on extracting lines of data in a text file based on the string it contains. This is the text file called info.txt:
1
by: kababoom | last post by:
I'm running Oracle 9i i would like to import one particular field stored in a excel format (which contains many fields) into oracle is there any command i could use to perform this task? Thanks for...
11
by: sajitk | last post by:
I am new to access and i am trying to build a database for enntering Subscription details of a particular journal. Wat I want is that FirstName field on the form should not be left blank. If the user...
4
by: LSteve | last post by:
Hi All Is there any way to test if a form field has got focus. I have a button that runs code to filters by selection, but if any other field other than the field is selected i want a message box...
1
by: Mark B | last post by:
VB.NET: How do I get the value of a particular field in the currently edited gridview row?
1
by: Jagadeshwar Rao | last post by:
Hai friends, have a great day i am using ms access 2003 in which i created a file with login username and password form(with some simple code not OS login username and password) and made the...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.